<template>
  <div>
<p>{{msg|minganci}}</p>
  </div>
</template>
<script>
  export default {
    data(){
      return{
        msg:'小学生，进厂拧螺丝吧'
      }
    },
    filters:{
      minganci(word){
        word=word.replace(/小|学|生|进|厂/g,'*')
        return word
      }
    }
  
  }
</script>
<style>

</style>